[VMXASSIST] Remove unused variable declarations to avoid compiler warning.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 14 Nov 2006 10:48:17 +0000 (10:48 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 14 Nov 2006 10:48:17 +0000 (10:48 +0000)
Signed-off-by: Ben Thomas <ben@virtualiron.com>
tools/firmware/vmxassist/vm86.c

index 0cd0e23090e3271f529f5709ae4a4eeaba4a4df9..5bae53ed6d89fbfdc4912a35824dbaa23dbcd6c6 100644 (file)
@@ -816,9 +816,7 @@ pop(struct regs *regs, unsigned prefix, unsigned opc)
 static int
 mov_to_seg(struct regs *regs, unsigned prefix, unsigned opc)
 {
-       unsigned eip = regs->eip - 1;
        unsigned modrm = fetch8(regs);
-       unsigned addr = operand(prefix, regs, modrm);
 
        /* Only need to emulate segment loads in real->protected mode. */
        if (mode != VM86_REAL_TO_PROTECTED)